
<%@ page import="org.bjou.CourseRule" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="pertho">
		<g:set var="entityName" value="${message(code: 'courseRule.label', default: 'CourseRule')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
<div class="container">
    <div class="row">
      <div class="twelve columns">
        <div class="box_c">
          <div class="box_c_heading cf">
            <p><g:message code="default.show.label" args="[entityName]" /></p>
          </div>
          <div class="box_c_content">
            <!-- start -->
		
		<div id="show-courseRule" class="content scaffold-show" role="main">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list courseRule">
			
				<g:if test="${courseRuleInstance?.ruleId}">
				<li class="fieldcontain">
					<span id="ruleId-label" class="property-label"><g:message code="courseRule.ruleId.label" default="Rule Id" /></span>
					
						<span class="property-value" aria-labelledby="ruleId-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleId"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleType}">
				<li class="fieldcontain">
					<span id="ruleType-label" class="property-label"><g:message code="courseRule.ruleType.label" default="Rule Type" /></span>
					
						<span class="property-value" aria-labelledby="ruleType-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleType"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.majorLevel}">
				<li class="fieldcontain">
					<span id="majorLevel-label" class="property-label"><g:message code="courseRule.majorLevel.label" default="Major Level" /></span>
					
						<span class="property-value" aria-labelledby="majorLevel-label"><g:fieldValue bean="${courseRuleInstance}" field="majorLevel"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.majorName}">
				<li class="fieldcontain">
					<span id="majorName-label" class="property-label"><g:message code="courseRule.majorName.label" default="Major Name" /></span>
					
						<span class="property-value" aria-labelledby="majorName-label"><g:fieldValue bean="${courseRuleInstance}" field="majorName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleCode}">
				<li class="fieldcontain">
					<span id="ruleCode-label" class="property-label"><g:message code="courseRule.ruleCode.label" default="Rule Code" /></span>
					
						<span class="property-value" aria-labelledby="ruleCode-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleSet}">
				<li class="fieldcontain">
					<span id="ruleSet-label" class="property-label"><g:message code="courseRule.ruleSet.label" default="Rule Set" /></span>
					
						<span class="property-value" aria-labelledby="ruleSet-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleSet"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleYear}">
				<li class="fieldcontain">
					<span id="ruleYear-label" class="property-label"><g:message code="courseRule.ruleYear.label" default="Rule Year" /></span>
					
						<span class="property-value" aria-labelledby="ruleYear-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleYear"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleSeason}">
				<li class="fieldcontain">
					<span id="ruleSeason-label" class="property-label"><g:message code="courseRule.ruleSeason.label" default="Rule Season" /></span>
					
						<span class="property-value" aria-labelledby="ruleSeason-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleSeason"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.ruleTerm}">
				<li class="fieldcontain">
					<span id="ruleTerm-label" class="property-label"><g:message code="courseRule.ruleTerm.label" default="Rule Term" /></span>
					
						<span class="property-value" aria-labelledby="ruleTerm-label"><g:fieldValue bean="${courseRuleInstance}" field="ruleTerm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.courseTerm}">
				<li class="fieldcontain">
					<span id="courseTerm-label" class="property-label"><g:message code="courseRule.courseTerm.label" default="Course Term" /></span>
					
						<span class="property-value" aria-labelledby="courseTerm-label"><g:fieldValue bean="${courseRuleInstance}" field="courseTerm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.currentTerm}">
				<li class="fieldcontain">
					<span id="currentTerm-label" class="property-label"><g:message code="courseRule.currentTerm.label" default="Current Term" /></span>
					
						<span class="property-value" aria-labelledby="currentTerm-label"><g:fieldValue bean="${courseRuleInstance}" field="currentTerm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="courseRule.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${courseRuleInstance?.dateCreated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${courseRuleInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="courseRule.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${courseRuleInstance?.lastUpdated}" /></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
                                  <!--
					<g:hiddenField name="id" value="${courseRuleInstance?.id}" />
					<g:link class="gh_button" action="edit" id="${courseRuleInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="gh_button icon danger" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
                                  -->
                                   <a href="#" onclick="javascript:history.back(-1)" class="gh_button list">返回</a>
				</fieldset>
			</g:form>
			<!-- end -->
            </div>
          </div>
        </div>
      </div>
    </div>
	</body>
</html>
